home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / windownt / uupc11ys.zip / LIB / UUTYPES.H < prev    next >
C/C++ Source or Header  |  1993-04-15  |  6KB  |  123 lines

  1. #ifndef UUPC_TYPES
  2. #define UUPC_TYPES
  3.  
  4. /*--------------------------------------------------------------------*/
  5. /*    Changes Copyright (c) 1989 by Andrew H. Derbyshire.             */
  6. /*                                                                    */
  7. /*    Changes Copyright (c) 1990-1993 by Kendra Electronic            */
  8. /*    Wonderworks.                                                    */
  9. /*                                                                    */
  10. /*    All rights reserved except those explicitly granted by the      */
  11. /*    UUPC/extended license agreement.                                */
  12. /*--------------------------------------------------------------------*/
  13.  
  14. /*--------------------------------------------------------------------*/
  15. /*                          RCS Information                           */
  16. /*--------------------------------------------------------------------*/
  17.  
  18. /*
  19.  *    $Id: uutypes.h 1.3 1993/04/15 03:21:30 ahd Exp $
  20.  *
  21.  *    Revision history:
  22.  *    $Log: uutypes.h $
  23.  * Revision 1.3  1993/04/15  03:21:30  ahd
  24.  * Add bounce to boolean option list
  25.  *
  26.  * Revision 1.2  1993/04/11  00:36:59  dmwatt
  27.  * Global edits for year, TEXT, etc.
  28.  *
  29.  * Revision 1.1  1993/03/06  23:09:50  ahd
  30.  * Initial revision
  31.  *
  32.  */
  33.  
  34. /*--------------------------------------------------------------------*/
  35. /*    Enumerated list used by the options= configuration line         */
  36. /*--------------------------------------------------------------------*/
  37.  
  38. typedef enum {
  39.  
  40. /*--------------------------------------------------------------------*/
  41. /*                          Per user options                          */
  42. /*--------------------------------------------------------------------*/
  43.  
  44.                F_ASKCC,       /* TRUE = ask for Carbon copies              */
  45.                F_DOSKEY,      /* TRUE = Use DOSKEY under DOS 5 if available*/
  46.                F_BACKUP,      /* TRUE = Backup mailbox before rewriting    */
  47.                F_BOUNCE,      /* TRUE = Bounce bad mail to sender          */
  48.                F_DOT,         /* TRUE = period ends a message              */
  49.                F_AUTOPRINT,   /* TRUE = print next message automatically   */
  50.                F_AUTOEDIT,    /* TRUE = no line prompt, always edit        */
  51.                F_AUTOINCLUDE, /* TRUE = Perform automatic INCLUDE command  */
  52.                F_AUTOSIGN,    /* TRUE = append the signature file          */
  53.                F_EXPERT,      /* TRUE = Let user shoot self in foot w/o
  54.                                         a message.                         */
  55.                F_FROMSEP,     /* TRUE = Allow From to split messages       */
  56.                F_PAGER,       /* TRUE = Invert meaning of P/p T/t commands */
  57.                F_PURGE,       /* TRUE = Delete mailbox, if empty           */
  58.                F_SAVE,        /* TRUE = Save read messages in =mbox when
  59.                                         reading new mail.                  */
  60.                F_SAVERESENT,  /* TRUE = Save forwarded mail a second time  */
  61.                F_SUPPRESSCOPYRIGHT,
  62.                               /* Skip copyright message                    */
  63.                F_SPEEDOVERMEMORY,
  64.                               /* TRUE = Be lazy in strpool()               */
  65.                F_VERBOSE,     /* TRUE = Verbose RMAIL output               */
  66.  
  67. /*--------------------------------------------------------------------*/
  68. /*                    Per system (GLOBAL) options                     */
  69. /*--------------------------------------------------------------------*/
  70.  
  71.                F_BANG,        /* TRUE = re-write addresses in bang (!) form*/
  72.                F_COLLECTSTATS,/* TRUE = Report additional information in
  73.                                         various logs                       */
  74.                F_DIRECT,      /* TRUE = Deliver to subdirectories, not
  75.                                         files                              */
  76.                F_ESCAPE,      /* TRUE = Allow ESCAPE to act as Ctrl-Break  */
  77.                F_HPFS,        /* TRUE = Exploit HPFS names under OS/2      */
  78.                F_HISTORY,     /* TRUE = Maintain history of of articles
  79.                                         read and posted                    */
  80.                F_KANJI,       /* TRUE = enable Kanji (Japanese) support    */
  81.                F_MULTI,       /* TRUE = Deliver to multiple addresses on
  82.                                         remote host at once                */
  83.                F_MULTITASK,   /* TRUE = System is multitasking, watch
  84.                                         for race conditions                */
  85.                F_ONECASE,     /* TRUE = Remote host is case insensitive    */
  86.                F_SNEWS,       /* TRUE = Use Simple news delivery           */
  87.                F_SYMMETRICGRADES,
  88.                               /* TRUE = Use send grade as receive grade    */
  89.                F_SYSLOG,      /* TRUE = Write syslog with name and time of
  90.                                         each file transferred              */
  91.                F_UNDELETE,    /* TRUE = Do not override OS/2 undelete
  92.                                  support                                   */
  93.                F_LAST }       /* Dummy - Must be last - defines array size */
  94.                B_FLAG;        /* Boolean flag array - ahd                  */
  95.  
  96. /*--------------------------------------------------------------------*/
  97. /*                  Your basic Boolean logic values                   */
  98. /*--------------------------------------------------------------------*/
  99.  
  100. #undef FALSE
  101. #undef TRUE
  102. typedef enum { FALSE = 0, TRUE = 1 } boolean;
  103.  
  104. /*--------------------------------------------------------------------*/
  105. /*                      Configuration mode flags                      */
  106. /*--------------------------------------------------------------------*/
  107.  
  108. typedef enum {
  109.       USER_CONFIG,
  110.       SYSTEM_CONFIG,
  111.       MODEM_CONFIG
  112.       } SYSMODE;
  113.  
  114. /*--------------------------------------------------------------------*/
  115. /*               enumerated type for configuration bits               */
  116. /*--------------------------------------------------------------------*/
  117.  
  118. typedef unsigned long CONFIGBITS;
  119. typedef unsigned short INTEGER;  /* Integers in the config file      */
  120. typedef unsigned int BPS;
  121.  
  122. #endif
  123.